package com.erp.entity.goods;

/**
 * 序列号
 */
public class SerialNumber {
    private Integer serialNumberId;  // 主键
    private Integer goodsId;         // 商品ID
    private String serialCode;       // 序列（唯一，单个公司内）
    private String serialRemark;     // 备注
    private Integer beginningId;     // 期初ID
    private Integer companyId;       // 公司ID
    private Integer warehouseId;     // 仓库ID


    public SerialNumber() {
    }

    public SerialNumber(Integer serialNumberId, Integer goodsId, String serialCode, String serialRemark, Integer beginningId, Integer companyId, Integer warehouseId) {
        this.serialNumberId = serialNumberId;
        this.goodsId = goodsId;
        this.serialCode = serialCode;
        this.serialRemark = serialRemark;
        this.beginningId = beginningId;
        this.companyId = companyId;
        this.warehouseId = warehouseId;
    }

    /**
     * 获取
     * @return serialNumberId
     */
    public Integer getSerialNumberId() {
        return serialNumberId;
    }

    /**
     * 设置
     * @param serialNumberId
     */
    public void setSerialNumberId(Integer serialNumberId) {
        this.serialNumberId = serialNumberId;
    }

    /**
     * 获取
     * @return goodsId
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置
     * @param goodsId
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取
     * @return serialCode
     */
    public String getSerialCode() {
        return serialCode;
    }

    /**
     * 设置
     * @param serialCode
     */
    public void setSerialCode(String serialCode) {
        this.serialCode = serialCode;
    }

    /**
     * 获取
     * @return serialRemark
     */
    public String getSerialRemark() {
        return serialRemark;
    }

    /**
     * 设置
     * @param serialRemark
     */
    public void setSerialRemark(String serialRemark) {
        this.serialRemark = serialRemark;
    }

    /**
     * 获取
     * @return beginningId
     */
    public Integer getBeginningId() {
        return beginningId;
    }

    /**
     * 设置
     * @param beginningId
     */
    public void setBeginningId(Integer beginningId) {
        this.beginningId = beginningId;
    }

    /**
     * 获取
     * @return companyId
     */
    public Integer getCompanyId() {
        return companyId;
    }

    /**
     * 设置
     * @param companyId
     */
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    /**
     * 获取
     * @return warehouseId
     */
    public Integer getWarehouseId() {
        return warehouseId;
    }

    /**
     * 设置
     * @param warehouseId
     */
    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String toString() {
        return "SerialNumber{serialNumberId = " + serialNumberId + ", goodsId = " + goodsId + ", serialCode = " + serialCode + ", serialRemark = " + serialRemark + ", beginningId = " + beginningId + ", companyId = " + companyId + ", warehouseId = " + warehouseId + "}";
    }
}
